
package wf.dto.georef;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id; 
import javax.persistence.NamedNativeQueries;
import javax.persistence.NamedNativeQuery;
//import org.hibernate.annotations.NamedNativeQueries;
//import org.hibernate.annotations.NamedNativeQuery;
/**
 *
 * @author Rómulo Galindo Tanta
 */

@Entity
@NamedNativeQueries({
        @NamedNativeQuery(
	name = "georef.pflisare",
	query = "select * from georef.pflisare()",
	resultClass = pflisare.class
	),
        @NamedNativeQuery(
	name = "georef.pflisare2",
	query = "select * from georef.pflisare2(:p_no_zongeo)",
	resultClass = pflisare.class
	)
})

public class pflisare implements Serializable {
    
    @Id
    @Column(name="id_zongeo")
    private int id_zongeo;
    
    @Column(name="no_zongeo")private String no_zongeo;
    @Column(name="ti_zongeo")private short ti_zongeo;

    public pflisare() {
    }

    public int getId_zongeo() {
        return id_zongeo;
    }

    public void setId_zongeo(int id_zongeo) {
        this.id_zongeo = id_zongeo;
    }

    public String getNo_zongeo() {
        return no_zongeo;
    }

    public void setNo_zongeo(String no_zongeo) {
        this.no_zongeo = no_zongeo;
    }

    public short getTi_zongeo() {
        return ti_zongeo;
    }

    public void setTi_zongeo(short ti_zongeo) {
        this.ti_zongeo = ti_zongeo;
    }
    
}
